<template>
  <view class="main">
    <view class="item">
      <view class="first">张三 <text>13122231231</text></view>
      <view class="second">子账号权限：下单、可见商品价格、下单和结</view>
      <view class="third">
        <view>可管理用户：<text>测试店铺</text></view>
        <!-- <u-icon name="edit-pen"></u-icon> -->
      </view>
    </view>
    <!-- <view class="bottomBox">
      <u-button @click="goPage('/pages/myPage/addSubAccount')" text="添加子账号" shape="circle" color="linear-gradient(90deg, #69E07D 0%, #2ED19A 33%, #1BBD7E 100%)"></u-button>
    </view> -->
  </view>
</template>

<script setup lang="ts">
import { goPage } from "../../utils/commonFn";
</script>

<style lang="less" scoped>
.item {
  margin-top: 20rpx;
  background: #ffffff;
  border-radius: 32rpx;
  padding: 32rpx 40rpx;
  .first {
    font-size: 28rpx;
    font-family: PingFangSC-Medium, PingFang SC;
    font-weight: 500;
    color: #333333;
    line-height: 40rpx;
    text {
      margin-left: 24rpx;
    }
  }
  .second {
    font-size: 26rpx;
    font-family: PingFangSC-Regular, PingFang SC;
    color: #bebebe;
    line-height: 36rpx;
    margin-top: 20rpx;
  }
  .third {
    margin-top: 34rpx;
    border-top: 1px solid #f5f5f5;
    padding-top: 20rpx;
    display: flex;
    justify-content: space-between;
    font-size: 26rpx;
    font-family: PingFangSC-Regular, PingFang SC;
    color: #bebebe;
    line-height: 36rpx;
    text {
      color: #21cca2;
    }
  }
}
</style>
